import myaxios from "../MyAxios";
import BASEURL from '@/http/BaseUrl'
const BMDURL = BASEURL.BMDURL

const AisonghuaApi = {

 
  /** 查询所有的画 */
  queryAll(page) {
    let url = BMDURL+'/Draw/querAll'
    
    return myaxios.get(url,page )
  },
  addArtist(params){
    // let url=BMDURL+'/Draw/add'
    // let url ='http://47.94.203.104:4100/v1/Draw/add'
    let url ='http://47.94.203.104:4100/v1/Draw/add'
    return myaxios.post(url,params)
},
//修改
update(params) {
  let url = BMDURL + "/Draw/update"
  return myaxios.post(url, params)
},
//删除
delete(params) {
  let url = BMDURL + '/Draw/dele'
  return myaxios.post(url, params)
},
  

}

export default AisonghuaApi;